package com.grz.service.impl;

import com.grz.dao.IStudentDao;
import com.grz.domain.Student;
import com.grz.service.IStudentService;
import lombok.AllArgsConstructor;

import java.util.List;

@AllArgsConstructor
public class StudentServiceImpl implements IStudentService {
    private final IStudentDao studentDao;

    @Override
    public List<Student> findAll() {
        return studentDao.findAll();
    }
}
